html, body {
    margin: 0;
    height: 100%;
}

body {
    background: url("../images/background.jpg");
    background-position: center center; /* Background image is centered vertically and horizontally at all times */
    background-attachment: fixed; /* Background image is fixed in the viewport so that it doesn't move when the content's height is greater than the image's height */
    background-repeat: no-repeat;
    background-size: cover; /* This is what makes the background image rescale based on the container's size */
    overflow-y: scroll;
}

body > div {
    flex: 1;
    display: flex;
    height: 100%;
}

#header, #content, #footer {
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    display: -webkit-flex;
    padding: 5px;
    margin: 5px 15%;
}

#header, #footer {
    background: #2c3e50;
    margin: 0;
    color: white;
}

#header {
    height: 100px;
    font-size: 25px;
    border-bottom: 1px solid black;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
}

#content {
    flex: 1;
    overflow-y: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer {
    height: 2%;
    border-top: 1px solid black;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.flex-start { -webkit-align-self: flex-start; align-self: flex-start; }
.flex-end { -webkit-align-self: flex-end; align-self: flex-end; }
.center { -webkit-align-self: center; align-self: center; }
.baseline { -webkit-align-self: baseline; align-self: baseline; }
.stretch { -webkit-align-self: stretch; align-self: stretch; }

#login-wrapper {
    
}

#logout-btn {
    self-align: flex-end;
}

#logo {
    
}